<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格实验</title>
    <style type="text/css">
        table{
            border: 8px double #0000ff;
        }
        table #table1{
            border: 8px double #0000ff;
        }
        table #table2{
            border: 8px double #0000ff;
        }
        td{
            border: 1px solid black;
            text-align: center;
        }
         #table1{
             background-color: #ffffee;
             width: 80%;
             border: 1px;
             text-align: center;
        }
         #table2{
             background-color: #fefefe;
             width: 80%;
             border: 1px;
             text-align: center;
         }
    </style>
</head>
<body>
    <table align="center" width="300px" cellspacing="0" cellpadding="0">
        <tr>
            <td>1</td>
            <td rowspan="2">2</td>
            <td>
                <table id="table1" align="center">
                    <tr>
                        <td>a</td>
                        <td rowspan="2">b</td>
                        <td>c</td>
                    </tr>
                    <tr>
                        <td>d</td>
                        <td>f</td>
                    </tr>
                    <tr>
                        <td>g</td>
                        <td>h</td>
                        <td>i</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table id="table2" align="center">
                    <tr>
                        <td>a</td>
                        <td colspan="2">b</td>
                    </tr>
                    <tr>
                        <td>d</td>
                        <td>e</td>
                        <td>f</td>
                    </tr>
                    <tr>
                        <td>g</td>
                        <td>h</td>
                        <td>i</td>
                    </tr>
                </table>
            </td>
            <td>6</td>
        </tr>
        <tr>
            <td>7</td>
            <td>8</td>
            <td>9</td>
        </tr>
    </table>
</body>
</html>